//
//  Version.h
//  OralRobot
//
//  Created by 王桂敏 on 16/5/25.
//  Copyright © 2016年 wangguimin. All rights reserved.
//

#ifndef Version_h
#define Version_h

// 是否IOS7
#define isIOS7                  ([[[UIDevice currentDevice]systemVersion]floatValue] >= 7.0)
// 是否IOS6
#define isIOS6                  ([[[UIDevice currentDevice]systemVersion]floatValue] < 7.0)

// 是否iPhone5
#define isIPhone5               ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

// 是否iPhone4
#define isIPhone4               ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 960), [[UIScreen mainScreen] currentMode].size) : NO)

#define KEY_OldVersion @"oldVersion" //存放提示更新的App版本号
#define AppStore_URLString @"https://itunes.apple.com/cn/app/kou-yu-ji-qi-ren/id1204724063?mt=8"
#endif /* Version_h */
